.BaseHeaderBox {
    width: 100%;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
}

.BaseHeader {
    width: 1140px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.header {
    width: 10%;
    display: flex;
    align-items: center;
    background-color: #fff;
    justify-content: space-between;

    img {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
}

.main {
    width: calc(100% - 10%);
    display: flex;
    align-items: center;
    justify-content: space-around;

    a {
        text-decoration: none;
        color: @router_text_BaseHeader;
    }

    p {
        height: 50px;
    }

    a:hover {
        color: @router_text_color;
    }

}

.active {
    color: pink !important;
}

.footer {
    position: fixed;
    left: 85%;
    top: 17px;
    display: flex;
    display: none;
    justify-content: space-around;

}

@media screen and (max-width: 390px) {
    .BaseHeader .main {
        display: none;
    }

    .BaseHeaderBox {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 798px) {
    .BaseHeader .main {
        display: none;
    }

    .footer {
        display: block;
    }
}

@media screen and (min-width: 1140px) {
    .BaseHeader .main {
        display: flex;
    }
}
